package org.dromara.agriculture.domain.vo;

import org.dromara.agriculture.domain.AgricultureBaseinfo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 基地信息视图对象 agriculture_baseinfo
 *
 * @author Robin
 * @date 2024-12-05
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = AgricultureBaseinfo.class)
public class AgricultureBaseinfoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 基地ID
     */
    @ExcelProperty(value = "基地ID")
    private Long baseId;

    /**
     * 基地简称
     */
    @ExcelProperty(value = "基地简称")
    private String baseShortName;

    /**
     * 基地编号
     */
    @ExcelProperty(value = "基地编号")
    private String baseCode;

    /**
     * 基地全称
     */
    @ExcelProperty(value = "基地全称")
    private String baseName;

    /**
     * 基地负责人
     */
    @ExcelProperty(value = "基地负责人")
    private String baseLeader;

    /**
     * 基地负责人电话
     */
    @ExcelProperty(value = "基地负责人电话")
    private String leaderTel;

    /**
     * 基地负责人地址
     */
    @ExcelProperty(value = "基地负责人地址")
    private String baseAddress;

    /**
     * 基地面积
     */
    @ExcelProperty(value = "基地面积")
    private String baseArea;

    /**
     * 基地海拔
     */
    @ExcelProperty(value = "基地海拔")
    private Long baseAltitude;

    /**
     * 现场图片
     */
    @ExcelProperty(value = "现场图片")
    private String baseImg;

    /**
     * 基地描述
     */
    @ExcelProperty(value = "基地描述")
    private String baseDes;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private String status;

    /**
     * 排序
     */
    @ExcelProperty(value = "排序")
    private Long orderNum;

    /**
     * $column.columnComment
     */
    @ExcelProperty(value = "${comment}", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "$column.readConverterExp()")
    private String baseCoordinate;

    /**
     * 基地关联部门id
     */
    @ExcelProperty(value = "基地关联部门id")
    private Long deptId;


}
